﻿using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace JsonToSql
{

    /// <summary>
    /// Entity definition 
    /// </summary>
    public class JsonEntity
    {
        /// <summary>
        /// Name of entity
        /// </summary>
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// Primary keys of entity
        /// </summary>
        public List<string> Keys
        {
            get;
            set;

        }

        /// <summary>
        /// Relations declared for this entity
        /// </summary>
        public List<JsonRelation> Relations
        {
            get;
            set;

        }


    }
}
